package com.shengqin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("t_calculate_log")
public class CalculateLog {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer planId;
    private String reason;
    private String reqParam;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Integer flag;
    private String type;

    @TableField(exist = false)
    private String planCode;
    @TableField(exist = false)
    private String planName;
}
